<template>
  <div id="app">
   <router-view/>
  </div>
</template>
<script>
import request from './utils/request'
export default {
  methods: {
    async register () {
      const res = await request({
        url: '/user/register',
        method: 'POST',
        data: {
          username: 'chumeng666',
          password: '123456'
        }
      })
      console.log(res)
    }
  }

}
</script>
<style >

</style>
